/**
 * com.dingjian.permission.service.impl.JobPermissionServiceImpl.java
 */
package com.dingjian.broker.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.dingjian.base.dao.BaseDao;
import com.dingjian.base.service.impl.BaseServiceImpl;
import com.dingjian.broker.dao.ContactPersonDao;
import com.dingjian.broker.model.ContactPerson;
import com.dingjian.broker.service.ContactPersonService;

/**
 * @author google
 *
 * @since 2012-10-7
 */
@Component(value="contactPersonService")
@Transactional
public class ContactPersonServiceImpl extends BaseServiceImpl<ContactPerson>
		implements ContactPersonService {
	@Autowired
	private ContactPersonDao contactPersonDao;
	
	@Override
	public void addEntity(ContactPerson cp) {
		super.addEntity(cp);
	}

	@Override
	protected BaseDao getDao() {
		return contactPersonDao;
	}

}
